• Jump To … +
    main.js separate.js single.js web-apg-api.js main.js web-conv-api.js ast.js csv.js dangling-else.js display.js flags.js float.js limits.js main.js multiline-mode.js recursive.js replace.js rules.js split.js testonly.js trace.js udt.js unicode.js web-email.js word-boundaries.js main.js phone-number.js web-main.js web-phone-number.js main.js phone-number.js setup.js translate.js xml.js branch-fail-grammar.js main.js parent-mode-grammar.js setup.js universal-mode-grammar.js colors-app.js colors-callbacks.js colors.js main.js more-app.js more-setup.js more.js ast-callbacks.js bad-input.js basic.js ini-file.js main.js parser-callbacks.js setup.js trace.js anbncn.js and.js c-comment.js compound.js main.js nested.js not.js setup.js boundaries-grammar.js boundaries.js comment-grammar.js comment.js main.js negative-grammar.js negative.js positive-grammar.js positive.js setup.js main.js odata-grammar.js run.js setup.js area-code.js lookaround.js main.js phone-number.js setup.js simple.js all-operators.js default.js fancy-number.js limited-lines.js main.js select-operators.js select-rules.js setup.js main.js minimal.js parent-u.js parent.js phone-number.js setup.js stats.js trace.js universal-u.js universal.js callbacks.js grammar.js main.js parser.js writeHtml.js LICENSE.md README.md index.md
  • index.md

  • §

    ⌂ home

    Annotated Table of Contents
    JavaScript APG, examples of use

    • The apg-js-examples README page from https://github.com/ldthomas/apg-js-examples.
      README.md

    • The apg-js-examples license.
      LICENSE.md

    • Using the JavaScript APG API.
      main.js
      separate.js
      single.js
      web-apg-api.js

    • Using the data conversion API.
      main.js
      web-conv-api.js

    • Using the parser library.
      main.js
      phone-number.js
      web-main.js
      web-phone-number.js

    • Using the pattern-matching engine library.
      ast.js
      csv.js
      dangling-else.js
      display.js
      flags.js
      float.js
      limits.js
      main.js
      multiline-mode.js
      recursive.js
      replace.js
      rules.js
      split.js
      test.js
      trace.js
      udt.js
      unicode.js
      web-email.js
      word-boundaries.js

    • Using the parser-generated AST.
      main.js
      phone-number.js
      setup.js
      translate.js
      xml.js

    • Demonstration of the back reference operators.
      branch-fail-grammar.js
      parent-mode-grammar.js
      main.js
      setup.js
      universal-mode-grammar.js

    • Demonstrate executing a rule from a UDT.
      colors-app.js
      colors-callbacks.js
      colors.js
      main.js
      more-app.js
      more-setup.js
      more.js

    • Demonstrate handling an initialization, “ini”, file.
      ast-callbacks.js
      bad-input.js
      basic.js
      ini-file.js
      main.js
      parser-callbacks.js
      setup.js
      trace.js

    • Demonstrating the look ahead operators.
      anbncn.js
      and.js
      c-comment.js
      compound.js
      main.js
      nested.js
      not.js
      setup.js

    • Demonstrating the look behind operators.
      boundaries-grammar.js
      boundaries.js
      comment-grammar.js
      comment.js
      main.js
      negative-grammar.js
      negative.js
      positive-grammar.js
      positive.js
      setup.js

    • OData test cases.
      main.js
      run.js
      setup.js

    • Demonstrations of parsing substrings.
      area-code.js
      lookaround.js
      main.js
      phone-number.js
      setup.js
      simple.js

    • Demonstration of tracing the parser through the parse tree nodes.
      all-operators.js
      default.js
      fancy-number.js
      limited-lines.js
      main.js
      select-operators.js
      select-rules.js
      setup.js

    • Demonstration of using User-Defined Terminals, UDTs.
      main.js
      minimal.js
      phone-number.js
      setup.js
      stats.js
      trace.js

    • A complete and well tested URI (RFC 3986) parser.
      main.js
      parser.js
      callbacks.js

    • A utility for writing an HTML page.
      writeHtml.js